package com.glls.order.feign;

import com.glls.common.vo.OrderVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * TODO
 *
 * @author junyang
 * @version 1.0.0
 * @date 2025/2/24 14:46
 */

@FeignClient(name = "service-stock")
public interface StockApi {


    @PostMapping("/stock/updateStock")
    public int updateStock(@RequestBody OrderVo order);
}
